.trade-ops-wrap{
  height: 100%;
  min-height: 382px;
  background: #282B3B;
  border: 1px solid #484B5D;
  border-radius: 3px;
  padding: 23px 17px;

  .op-type-box{
    height: 34px;
    background: #1B1D2B;
    border: 1px solid #373B3B;
    line-height: 28px;
    border-radius: 4px;
    padding: 3px 3px;
    font-size: 11px;
    font-family: PingFangSC-Semibold;
    color: #B0B7D6;
    .type{
      flex-grow: 1;
      text-align: center;
      &.selected{
        background: #5D638144;
        border-radius: 3px;
        color: #FFFFFF;
      }
    }
  }

  .ops-box{
    .row{
      text-align: left;
      margin-top: 10px;

      &.no-bottom-border{
        margin-bottom: 0;
        .border-box{
          border-bottom-left-radius: 0;
          border-bottom-right-radius: 0;
        }
      }
      &.no-top-border{
        height: 46px;
        margin-top: 0px;
        font-size: 10px;
        font-family: PingFang SC;
        font-weight: 400;
        .unit{
          line-height: 21px;
        }
        color: #B0B7D6;
        .border-box{
          margin-top: 0;
          border-top-width: 0;
          border-top-left-radius: 0;
          border-top-right-radius: 0;
        }
        .ver-line{
          height: 21px;
          width: 1px;
          background-color: #707070;
          margin: 0 8px;
        }

        .amount-tip-box{
          line-height: 13px;
          font-size: 10px;
          font-family: PingFang SC;
          font-weight: 400;
          color: #B0B7D6;
          .item{
            flex-grow: 1;
            text-align: left;
            padding-top: 6px;
          }
          .green{
            color: #00AD50;
          }
          .red{
            color: #FF89A5;
          }
        }
      }

      .left{
        flex-grow: 1;
      }
      .right{
        margin-left: 8px;
        width: 70px;
        text-align: center;
        color: #ACB2D2;
      }

      .title{
        font-size: 9px;
        font-family: PingFang SC;
        font-weight: 400;
        color: #B0B7D6;
      }

      .border-box{
        height: 33px;
        background: #1B1D2B;
        border: 1px solid #373B3B;
        border-radius: 4px;
        margin-top: 4px;
        padding: 6px 8px;
        input{
          height: 100%;
          width: 100%;
          background-color: transparent;
          color: #aaa;
          font-size: 13px;
          line-height: 21px;
        }
      }

      &.slider-row{
        margin-top: 5px;
      }

      .percents-box{
        font-size: 10px;
        font-family: DINbek Bold;
        font-weight: bold;
        line-height: 12px;
        color: #91A5A7;
        .split{
          flex-grow: 1;
        }
      }

      .tips{
        margin-top: 10px;
        font-size: 10px;
        font-family: PingFang SC;
        font-weight: 400;
        line-height: 14px;
        color: #B0B7D6;
        height: 14px;
      }
    }

    .btn-box{
      margin-top: -7px;
      .btn{
        border-radius: 4px;
        height: 27px;
        border: none;
        font-size: 11px;
        font-family: PingFangSC-Semibold;
        line-height: 27px;
        width: 95px;
        &.buy-btn{
          background: #0AD76922;
          color: #09E26D;
        }
        &.sell-btn{
          background-color: #DF4D6F22;
          color: #FF81AB;
        }
        &.hedging-btn{
          background-color: #FAE24822;
          color: #F8E71C;
        }
      }

    }
  }
}

.leverage-dialog{
  .row{
    margin-top: 16px;
    .icon{
      width: 31px;
      height: 31px;
      background-repeat: no-repeat;
      background-size: 100%;
      &.minus-icon{
        background-image: url('../../../../assets/images/minus-icon.png');
      }
      &.plus-icon{
        background-image: url('../../../../assets/images/plus-icon.png');
      }
    }

    .mid{
      margin: 0 9px;
      flex-grow: 1;
    }
  }
  .slider-row{
    margin-top: 41px;
    .header{
      top: -10px;
      text-align: left;
      width: 100%;
      font-size: 10px;
      font-family: PingFangSC-Semibold;
      line-height: 14px;
      color: #B0B7D6;
    }
  }

  .border-box{
    height: 31px;
    background: #1B1D2B;
    border: 1px solid #373B3B;
    border-radius: 4px;
    line-height: 31px;
    padding: 0 14px;
  }

  .ok-btn{
    margin-top: 16px;
    height: 28px;
    background: #524F3D;
    border-radius: 3px;
    line-height: 28px;
    border: none;
    font-size: 11px;
    font-family: PingFangSC-Semibold;
    color: #FAE248;
  }
}
